<?php
/**
 * Created by PhpStorm.
 * User: Jacky
 * Date: 2017/5/6
 * Time: 9:30
 */
function p($var)
{
    if(is_bool($var)){
        var_dump($var);
    }else if (is_null($var)) {
        var_dump(NUll);
    }else{
        echo "<pre style='position:relative;z-index:1000;padding:10px;
        border-radius:5px;background:#F5F5F5;border:1px solid #aaa;font-size:14px;
        line-height:18px;opacity:0.9;'>". print_r($var,true)."</pre>";
    }

}
